package com.rwx.myjava03_springboot02.entity;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

@Component
@Data
@ConfigurationProperties(prefix = "enterprise")
public class Environments {
    private String name;
    private Integer age;
    private String[] subject;

}
